package com.han.demo4.after;

/**
 * @ClassName OtherSafetyDoor
 * @Description 其他类型的安全帽
 * @Author duoduo Han
 * @Date 2024/6/2 18:44
 */
public class OtherSafetyDoor implements Waterproof, Fireproof {
    @Override
    public void fireproof() {
        System.out.println("防火");
    }

    @Override
    public void waterproof() {
        System.out.println("防水");
    }
}
